

export default {


    table_config: {
        imgKeyWord: "url",
        fileKeyWord: "url",
        fileName: "fFileName",
        dialogHeight: '',
        thead: [{
            label: '生产任务单号',
            prop: 'F_ProduceTaskNumber',
            minWidth: '100px',
            align: "left"

        },
        {
            label: '标段名称',
            prop: 'F_CompanyName',
            minWidth: '110px',
            align: "left"
        },
        {
            label: '工程名称',
            prop: 'F_EngineeringName',
            minWidth: '150px',
            align: "left"
        },
        {
            label: '工程部位',
            prop: 'F_EngineeringPartName',
            minWidth: '230px',
            align: "left"
        },
        {
            label: '实际方量(m³)',
            prop: 'F_ActualCalculation',
            minWidth: '80px',
            align: "center"
        },
        {
            label: '强度等级',
            prop: 'F_StrengthGrade',
            minWidth: '80px',
            align: "center"
        },
        {
            label: '预警级别',
            prop: 'F_WarningLevel',
            minWidth: '100px',
            filter: true,
            btn: true,
            align: "center",
            colorName: '',
        },
        {
            label: '出料时间',
            prop: 'dischargeDates',
            minWidth: '140px',
            align: "center"
        },
        {
            label: '上传时间',
            prop: 'F_DischargeDates',
            minWidth: '140px',
            align: "center"
        },
        {
            label: '闭合状态',
            prop: 'F_CloseStatus',
            minWidth: '80px',
            align: "center"
        },
        ],
        isCheckBox: false,
        isIndex: true,
        isOperation: true,
        // 表格操作列
        operation: {
            label: '闭合操作',
            width: '100',
            detail: true,
            prop: true,
            cols: [],
            // specialClass: (rowData) => {
            //     console.log(rowData);
            //     var color = null
            //     if (rowData == '未闭合') {
            //         color = 'red !important'
            //     } else if (rowData == '已闭合') {
            //         color = 'green !important'
            //     } else if (rowData == '无需闭合') {
            //         color = '#000 !important'
            //     } else {
            //         color = '#409eff !important'
            //     }
            //     return color
            // }
        },
    },
    searchObj: [{
        datePickerIsRange: true, //是input
            label: ".", //字段
            prop: "timeDates", //字段名
            width: 5, //参考el-col
            disabled: false, //是否禁用
            placeholder: "进场时间",

        }, {
            select: true, //是input
            label: ".", //字段
            prop: "strengthgrade", //字段名
            width: 2, //参考el-col
            disabled: false, //是否禁用
            placeholder: "强度等级",
            options: [{
                label: "强度等级",
                value: "",
            }, {
                label: "C10",
                value: "C10",
            }, {
                label: "C15",
                value: "C15",
            }, {
                label: "C20",
                value: "C20",
            }, {
                label: "C25",
                value: "C25",
            }, {
                label: "C30",
                value: "C30",
            }, {
                label: "C35",
                value: "C35",
            }, {
                label: "C40",
                value: "C40",
            }, {
                label: "C45",
                value: "C45",
            }, {
                label: "C50",
                value: "C50",
            }, {
                label: "C55",
                value: "C55",
            }, {
                label: "C60",
                value: "C60",
            }, {
                label: "C65",
                value: "C65",
            }, {
                label: "C70",
                value: "C70",
            }, {
                label: "C75",
                value: "C75",
            }, {
                label: "C80",
                value: "C80",
            }, {
                label: "C85",
                value: "C85",
            }, {
                label: "其他",
                value: "其他",
            }]

        },
        {
            select: true, //是input
            label: ".", //字段
            prop: "stationId", //字段名
            width: 3, //参考el-col
            disabled: false, //是否禁用
            placeholder: "所有拌和站",
            options: []

        },
        {
            select: true, //是input
            label: ".", //字段
            prop: "machineId", //字段名
            width: 3, //参考el-col
            disabled: false, //是否禁用
            placeholder: "所有拌和机",
            options: []

        },
        {
            select: true, //是input
            label: ".", //字段
            prop: "warningLevel", //字段名
            width: 2, //参考el-col
            disabled: false, //是否禁用
            placeholder: "预警级别",
            options: [{
                label: "预警级别",
                value: ""
            }, {
                label: "正常",
                value: "0"
            }, {
                label: "一级",
                value: "1"
            }, {
                label: "二级",
                value: "2"
            }, {
                label: "三级",
                value: "3"
            }, {
                label: "四级",
                value: "4"
            }, {
                label: "五级",
                value: "5"
            },]

        },
        {
            select: true, //是input
            label: ".", //字段
            prop: "fCloseoperation", //字段名
            width: 2, //参考el-col
            disabled: false, //是否禁用
            placeholder: "闭合状态",
            options: [{
                label: "闭合状态",
                value: ""
            }, {
                label: "未闭合",
                value: "未闭合"
            }, {
                label: "已闭合",
                value: "已闭合"
            }]

        },
        
        {
            input: true, //是input
            label: ".", //字段
            prop: "keyWord", //字段名
            width: 3, //参考el-col
            disabled: false, //是否禁用
            placeholder: "工程名称/工程部位",

        },
        {
            btn: true, //是input
            label: ".", //字段
            prop: "", //字段名
            width: 3, //参考el-col
            disabled: false, //是否禁用
            // placeholder: "规格型号",

        },
    ],
    btnObj: []
}